package com.codedancer.campus.manager.api.role.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import lombok.Data;

@Data
@ApiModel(value = "角色添加或修改Ro")
public class RoleAddOrUpdateRo {

    @ApiModelProperty("角色名称")
    @NotEmpty(message = "请输入角色名称")
    private String name;

    @ApiModelProperty("角色编码")
    @NotEmpty(message = "请输入角色编码")
    private String encode;

    @ApiModelProperty("备注")
    @NotEmpty(message = "请输入角色备注")
    private String remark;
}
